package com.bean;

import java.sql.Date;
import java.sql.Timestamp;

/*
 * JavaBean:可重用的组件，主要用来封装数据库中的属性值在应用程序中进行传递
满足条件：
1.属性私有
2.提供共有的get和set方法来操作属性

*/

public class Student {
	
	private Integer sid;
	private String sname;
	private Integer sage;
	private Date sdate;
	private String scard;
	private Timestamp sborn;
	private Integer score;
	private String sphoto;
	
	public Integer getSid() {
		return sid;
	}
	public void setSid(Integer sid) {
		this.sid = sid;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public Integer getSage() {
		return sage;
	}
	public void setSage(Integer sage) {
		this.sage = sage;
	}
	public Date getSdate() {
		return sdate;
	}
	public void setSdate(Date sdate) {
		this.sdate = sdate;
	}
	public String getScard() {
		return scard;
	}
	public void setScard(String scard) {
		this.scard = scard;
	}
	public Timestamp getSborn() {
		return sborn;
	}
	public void setSborn(Timestamp sborn) {
		this.sborn = sborn;
	}
	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public String getSphoto() {
		return sphoto;
	}
	public void setSphoto(String sphoto) {
		this.sphoto = sphoto;
	}
	
	
	
	
}
